package com.yili.oa.controller;

import com.yili.oa.models.FtGamePlatform;
import com.yili.oa.service.FtGamePlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class FtGamePlatformController {

    @Autowired
    FtGamePlatformService service;

    @RequestMapping("ftGamePlatform/get")
    @ResponseBody
    public List<FtGamePlatform> get(Long gameKind){
        return service.getByGameKind(gameKind);

    }


}
